import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import ElementPlus from 'element-plus' // 引入element-plus
import 'element-plus/theme-chalk/index.css' // 引入element-plus的样式
import './assets/css/global.css'

const app = createApp(App)
axios.defaults.baseURL = 'http://localhost/'
app.config.globalProperties.$http = axios
app.use(store).use(router).use(ElementPlus, { zIndex: 3000, size: 'small' }).mount('#app')
